package com.rbs.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order implements Serializable {
    private Integer orderId;
    private Double goodPrice;
    private Date orderTime;
    private Integer orderState;
    private Address address;
    private User user;
    private List<OrderItem> orderItems;
}
